package com.wtf.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * desc:
 *
 * @author tengfei wang
 * @version 1.0
 * @date Created in 3/11/2020
 */
@Component
@Slf4j
public class CodeFeignFallBack implements CodeFeignService {
    @Override
    public Integer validCode(String email, Integer code) {
        log.error("验证 code {} 请求超时", code);
        return 2;
    }
}
